﻿CREATE TABLE [dbo].[Tokens] (
    [Id]             UNIQUEIDENTIFIER DEFAULT (newid()) NOT NULL,
    [User]           UNIQUEIDENTIFIER NOT NULL,
    [AppId]          UNIQUEIDENTIFIER NOT NULL,
    [IssueDate]      DATETIME         NOT NULL,
    [ExpirationDate] DATETIME         NOT NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC)
);

